/**
 * ClassName: class1_250829
 * Package: PACKAGE_NAME
 * Description:
 *
 * @Author harkjeans
 * @Create 2025/8/29 18:32
 * @Version 1.0
 */
public class class1_250829 {
    public static void main(String[] args) {
        //数组元素的默认初始化
        //int -> 0
        //float -> 0.0
        //char -> 0 (\u0000)
        //boolean -> false
        //引用数组类型 -> null

        //一维数组的内存解析
        int[] a1 = new int[]{1,2,3};
        int[] a2 = a1;
        a2[1] = 10;
        System.out.println(a1[1]);
        System.out.println(a1);
        System.out.println(a2);

    }
}
